// 	Name: 02.c
//	Description: Chapter 4 project 2
//	Author: StableGenius
//	Date: 2020-05-07
//	Email: feng@dongfa.pro

#include <stdio.h>

int main(void)
{
	int n;
	
	printf("Enter a three-digit number: ");
	scanf("%d", &n);
	
	printf("The reversal is: %d%d%d\n", n % 10, n % 100 / 10, n / 100);
	
	return 0;
}
